modify Device
Modify device under a registry
Path Parameters
Subscription ID
Registry ID
Device ID
Query Parameters
Possible values: [logLevel
, blocked
, metadata
, credentials
, gatewayConfig.gatewayAuthMethod
, policy
]
Required. Only updates the device fields indicated by this mask. The field mask must not be empty, and it must not contain fields that are immutable or only set by the server. Mutable top-level fields: credentials,logLevel, blocked,policy and metadata
Request Body required
application/json
property name*
string
Possible values: >= 3 characters
and <= 256 characters
credentials object[]
publicKey object
Possible values: [RSA_PEM
, ES256_PEM
, RSA_X509_PEM
, ES256_X509_PEM
]
gatewayConfig object
Possible values: [GATEWAY_AUTH_METHOD_UNSPECIFIED
, ASSOCIATION_ONLY
, DEVICE_AUTH_TOKEN_ONLY
, ASSOCIATION_AND_DEVICE_AUTH_TOKEN
]
Possible values: [NON_GATEWAY
, GATEWAY
]
lastErrorStatus object
Possible values: [INFO
, ERROR
]
metadata object
config object
state object
policy object
tcpUdpModelDetails object
image object
tcpDetails object
udpDetails object
- 200
- 400
- 404
- 500
OK
Schema
property name*
string
Possible values: >= 3 characters
and <= 256 characters
credentials object[]
publicKey object
Possible values: [RSA_PEM
, ES256_PEM
, RSA_X509_PEM
, ES256_X509_PEM
]
gatewayConfig object
Possible values: [GATEWAY_AUTH_METHOD_UNSPECIFIED
, ASSOCIATION_ONLY
, DEVICE_AUTH_TOKEN_ONLY
, ASSOCIATION_AND_DEVICE_AUTH_TOKEN
]
Possible values: [NON_GATEWAY
, GATEWAY
]
lastErrorStatus object
Possible values: [INFO
, ERROR
]
metadata object
config object
state object
policy object
tcpUdpModelDetails object
image object
tcpDetails object
udpDetails object
Bad Request
Schema
error object
Not Found
Schema
error object
Internal Server Error